All Questions
23 questions
23votes
6answers
6kviews
How important is it to clearly understand requirements and architecture before starting to code? [closed]
Whenever possible I have been requiring an understanding of the requirements and architecture for the next scope of work before starting to code. Sometimes due to schedule pressure on larger projects ...
2votes
2answers
584views
Design of a modular application
I'm developing an application (Java) in a modular architecture. I have two approaches in mind and I'm not sure which one will be "better code" in case of maintenance and conventions. I have ...
-1votes
3answers
700views
Improving APIs that call 3rd party APIs [closed]
So I'm designing the backend of a platform that often calls other 3rd party APIs. The issues I've noticed were latency issues (sometimes the calls were fast, others a bit slow >15s) and I'm ...
0votes
1answer
386views
What is the most common stateless way for authentication in microservices?
I'm trying to get into Microservices by creating a project, so far I've stumbled upon authentication mechanisms, in a monolithic architecture, the client (web app) would send a request with the user ...
-4votes
2answers
150views
How to exploit efficiency of C? [closed]
I want to write a program that performs heavy computations and I want it to be as fast as possible, so I choose C to be the language. Nevertheless, I was told that in spite of its simplicity and high ...
5votes
2answers
534views
Should microservices in an event sourced architecture not communicate directly with one another via REST/gRPC/etc?
I'm trying to wrap my head around event sourced architectures. It seems like common advice is to have small events with as little info in them as possible (opposed to large events with everything in ...
2votes
0answers
127views
Circular dependence and many references to the same object
I have tried to design a class diagram for my first game. But then I realized that there are some ugly parts. First, there is reference from StateSystem to State and from State to StateSystem. The ...
3votes
1answer
176views
Is good or bad practice to share reporting modules between systems/apps?
At my new work, a few people want to share modules between systems/apps, and I'm a bit skeptical about it. Context: we have a lot of little apps living in different servers, some of them are ...
2votes
1answer
164views
What terminology is associated with uneven maintainability?
A developer is tasked with writing a service that will iterate through a number of records and send notifications for each one. The type of notification might be different per record, so you can ...
2votes
1answer
62views
Balancer that delegates requests to servers and problem with Websockets
Lets have an application that has real-time chat feature. The chat requires websockets in order to function real-time. Now imagine we have "balancer" and 3 application servers. Instance of ...
1vote
1answer
166views
Scheduling Rules and Complexity in Coding Lots of rules respect to time?
We have some fields (age, visit type, insurance type, city) and some rules: Some doctors that define weekly schedule template like as: Doctor D1 works on Monday 7-9 pm , Thursday 7-9 pm. Some type of ...
2votes
1answer
231views
Conversions between object types between application boundaries
Disclaimer: The post is Spring and Hibernate specific but any generic advice would be helpful too. I recently started on a project which contains following technology stack Hibernate, Spring MVC and ...
3votes
2answers
370views
Writing effective use cases
While writing personal projects as well as well in the job, I often struggle to proceed on the current task because either I get stuck on what I was thinking or didn't thought about all the corner ...
6votes
2answers
507views
Why do I need dependency injection and the depencency inversion principal in my case?
I'm a student of best practices, architectural patterns, and design principals. I have been studying dependency injection and inversion of control a lot lately, and have been "drinking the koolade" ...
4votes
2answers
837views
Two apps vs one app
We are developing a mobile app/apps which has two parties involved, creators and consumers. Creators first register themselves, get verified and then create the events. Consumers browse for desired ...